package tests;

import controller.UzivateleBean;
import core.BlogException;
import core.Uzivatel;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import model.UzivatelModel;

/**
 *
 * @author vojta
 */
public class test {
    
    public static void main(String[] args) {
      System.out.println("-------------- PROCESSING UZIVATELE ----------------------");        
        List<Uzivatel> list = null;
        try {
            UzivatelModel model = new UzivatelModel();                     
            list = model.getUzivatele();        
            
        } catch (BlogException ex) {
            Logger.getLogger(UzivateleBean.class.getName()).log(Level.SEVERE, null, ex);
        }
        System.out.println(list);                
        
    }
}
